<div class="layui-container fly-marginTop fly-user-main">
    {include file="userLeftBar" /}
        <div class="site-tree-mobile layui-hide">
            <i class="layui-icon">&#xe602;</i>
        </div>
        <div class="site-mobile-shade"></div>
        <div class="fly-panel fly-panel-user" pad20>
            <div class="layui-tab layui-tab-brief" lay-filter="user" id="LAY_uc">
                <ul class="layui-tab-title" id="LAY_mine">
                    <li data-type="mine-jie" lay-id="index" class="layui-this">我发的帖</li>
                    <li data-type="collection" data-url="/collection/find/" lay-id="collection">我收藏的帖</li>
                </ul>
                <div class="layui-tab-content" id="LAY_ucm" style="padding: 5px 0;">
                    <div class="layui-tab-item layui-show">
                        <table class="layui-hide" id="LAY_mySendCard"></table>
                        <div class="layui-form layui-border-box layui-table-view" lay-filter="LAY-table-1" style=" ">
                            <div class="layui-table-box">
                                <div class="layui-table-header">
                                    <table cellspacing="0" cellpadding="0" border="0" class="layui-table" lay-skin="line">
                                        <thead>
                                            <tr>
                                                <th data-field="title" data-minwidth="300">
                                                    <div class="layui-table-cell laytable-cell-1-title">
                                                        <span>帖子标题</span>
                                                    </div>
                                                </th>
                                                <th data-field="status">
                                                    <div class="layui-table-cell laytable-cell-1-status" align="center">
                                                        <span>状态</span>
                                                    </div>
                                                </th>
                                                <th data-field="status">
                                                    <div class="layui-table-cell laytable-cell-1-status" align="center">
                                                        <span>结贴</span>
                                                    </div>
                                                </th>
                                                <th data-field="time">
                                                    <div class="layui-table-cell laytable-cell-1-time" align="center">
                                                        <span>发表时间</span>
                                                    </div>
                                                </th>
                                                <th data-field="4">
                                                    <div class="layui-table-cell laytable-cell-1-4">
                                                        <span>数据</span>
                                                    </div>
                                                </th>
                                                <th data-field="5">
                                                    <div class="layui-table-cell laytable-cell-1-5">
                                                        <span>操作</span>
                                                    </div>
                                                </th>
                                            </tr>
                                        </thead>
                                    </table>
                                </div>
                                <div class="layui-table-body layui-table-main">
                                    <table cellspacing="0" cellpadding="0" border="0" class="layui-table" lay-skin="line">
                                        <tbody>
                                            <?php foreach ($data as $row): ?>
                                                
                                            
                                            <tr data-index="0" class="">
                                                <td data-field="title" data-content="富文本2.0的文档还没有吗" data-minwidth="300">
                                                    <div class="layui-table-cell laytable-cell-1-title">
                                                        <a href="/jie/22484/" target="_blank" class="layui-table-link">{$row['title']}</a>
                                                    </div>
                                                </td>
                                                <td data-field="status" align="center" data-content="0">
                                                    <div class="layui-table-cell laytable-cell-1-status">
                                                        <?php if ($row['is_stop']=='0'): ?>
                                                            <span style="color: #999;">正常</span>
                                                        <?php else: ?>
                                                            <span style="color: #999;">禁用</span>
                                                        <?php endif?>
                                                    </div>
                                                </td>
                                                <td data-field="status" align="center" data-content="0">
                                                    <div class="layui-table-cell laytable-cell-1-status">
                                                        <?php if ($row['status']=='0'): ?>
                                                            <span style="color: #ccc;">未结</span>
                                                        <?php else: ?>
                                                            <span style="color: #ccc;">已结</span>
                                                        <?php endif ?>

                                                        
                                                    </div>
                                                </td>
                                                <td data-field="time" align="center" data-content="1519373937122">
                                                    <div class="layui-table-cell laytable-cell-1-time">1天前</div>
                                                </td>
                                                <td data-field="4" data-content="">
                                                    <div class="layui-table-cell laytable-cell-1-4">
                                                        <span style="font-size: 12px;">{$row['view_num']}阅/{$row['answer_num']}答</span>
                                                    </div>
                                                </td>
                                                <td data-field="5" data-content="">
                                                    <div class="layui-table-cell laytable-cell-1-5">
                                                        <a class="layui-btn layui-btn-xs" href="{:url('index/Edit/index',['pid'=>$row['pid']])}" target="_blank">编辑</a>
                                                    </div>
                                                </td>
                                            </tr>

                                            <?php endforeach ?>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <div class="layui-table-page">
                                <div id="layui-table-page1">
                                    <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-2">
                                        <a href="javascript:;" class="layui-laypage-prev layui-disabled" data-page="0">
                                            <i class="layui-icon"></i>
                                        </a>
                                        <span class="layui-laypage-curr">
                                            <em class="layui-laypage-em"></em>
                                            <em>1</em>
                                        </span>
                                        <a href="javascript:;" class="layui-laypage-next layui-disabled" data-page="2">
                                            <i class="layui-icon"></i>
                                        </a>
                                        <span class="layui-laypage-skip">到第
                                            <input type="text" min="1" value="1" class="layui-input">页
                                            <button type="button" class="layui-laypage-btn">确定</button>
                                        </span>
                                        <span class="layui-laypage-count">共 1 条</span>
                                        <span class="layui-laypage-limits">
                                            <select lay-ignore="">
                                                <option value="10" selected="">10 条/页</option>
                                                <option value="20">20 条/页</option>
                                                <option value="30">30 条/页</option>
                                                <option value="40">40 条/页</option>
                                                <option value="50">50 条/页</option>
                                                <option value="60">60 条/页</option>
                                                <option value="70">70 条/页</option>
                                                <option value="80">80 条/页</option>
                                                <option value="90">90 条/页</option>
                                            </select>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <style>
                                .laytable-cell-1-title {
                                    width: 343px;
                                }
                
                                .laytable-cell-1-status {
                                    width: 100px;
                                }
                
                                .laytable-cell-1-status {
                                    width: 100px;
                                }
                
                                .laytable-cell-1-time {
                                    width: 120px;
                                }
                
                                .laytable-cell-1-4 {
                                    width: 150px;
                                }
                
                                .laytable-cell-1-5 {
                                    width: 100px;
                                }
                            </style>
                        </div>
                    </div>
                    <div class="layui-tab-item" style="">
                        <table class="layui-hide" id="LAY_myCollectioncard"></table>
                        <div class="layui-form layui-border-box layui-table-view" lay-filter="LAY-table-3" style=" ">
                            <div class="layui-table-box">
                                <div class="layui-table-header">
                                    <table cellspacing="0" cellpadding="0" border="0" class="layui-table" lay-skin="line">
                                        <thead>
                                            <tr>
                                                <th data-field="title" data-minwidth="300">
                                                    <div class="layui-table-cell laytable-cell-3-title">
                                                        <span>帖子标题</span>
                                                    </div>
                                                </th>
                                                <th data-field="collection_timestamp">
                                                    <div class="layui-table-cell laytable-cell-3-collection_timestamp" align="center">
                                                        <span>收藏时间</span>
                                                    </div>
                                                </th>
                                            </tr>
                                        </thead>
                                    </table>
                                </div>
                                <div class="layui-table-body layui-table-main">
                                    <table cellspacing="0" cellpadding="0" border="0" class="layui-table" lay-skin="line">
                                        <tbody>
                                            <tr data-index="0">
                                                <td data-field="title" data-content="富文本2.0的文档还没有吗" data-minwidth="300">
                                                    <div class="layui-table-cell laytable-cell-3-title">
                                                        <a href="/jie/22484/" target="_blank" class="layui-table-link">富文本2.0的文档还没有吗</a>
                                                    </div>
                                                </td>
                                                <td data-field="collection_timestamp" align="center" data-content="1519373989856">
                                                    <div class="layui-table-cell laytable-cell-3-collection_timestamp">1天前</div>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <div class="layui-table-page">
                                <div id="layui-table-page3">
                                    <div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-1">
                                        <a href="javascript:;" class="layui-laypage-prev layui-disabled" data-page="0">
                                            <i class="layui-icon"></i>
                                        </a>
                                        <span class="layui-laypage-curr">
                                            <em class="layui-laypage-em"></em>
                                            <em>1</em>
                                        </span>
                                        <a href="javascript:;" class="layui-laypage-next layui-disabled" data-page="2">
                                            <i class="layui-icon"></i>
                                        </a>
                                        <span class="layui-laypage-skip">到第
                                            <input type="text" min="1" value="1" class="layui-input">页
                                            <button type="button" class="layui-laypage-btn">确定</button>
                                        </span>
                                        <span class="layui-laypage-count">共 1 条</span>
                                        <span class="layui-laypage-limits">
                                            <select lay-ignore="">
                                                <option value="10" selected="">10 条/页</option>
                                                <option value="20">20 条/页</option>
                                                <option value="30">30 条/页</option>
                                                <option value="40">40 条/页</option>
                                                <option value="50">50 条/页</option>
                                                <option value="60">60 条/页</option>
                                                <option value="70">70 条/页</option>
                                                <option value="80">80 条/页</option>
                                                <option value="90">90 条/页</option>
                                            </select>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <style>
                                .laytable-cell-3-title {
                                    width: 793px;
                                }
                
                                .laytable-cell-3-collection_timestamp {
                                    width: 120px;
                                }
                            </style>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>